
#include <stdio.h>


#define N 10

int main () {
    int i, size;
    double * a, * b;

    a = malloc(N * sizeof(double));
    b = malloc(N * sizeof(double));
    size = N;

    #pragma acc kernels loop private(i) copy(a[size],b[size]) copyin(size,i)
    for (i = 0; i < size; i++) {
            a[i] = i;
            b[i] = a[i];
    }

}
